#ifndef _FLOORMOVABLE_TEST_H_
#define _FLOORMOVABLE_TEST_H_

#include "FloorMovable.h"

/**
 * Test the basic moving functionality of a floor.
 */
TEST(FloorMovable, basicMoving)
{
  IMovable::movableVector v;
  const int X_POS = -10;
  const int Y_POS = 5; 
  v.push_back(X_POS);
  v.push_back(Y_POS);

  FloorMovable m;

  m.setPosition(v);

  EXPECT_TRUE(v == m.getPosition());

  IMovable::movableVector y;
  y.push_back(Y_POS);
  y.push_back(X_POS);

  m.movePosition(y);

  v[0] += Y_POS;
  v[1] += X_POS;

  EXPECT_TRUE(v == m.getPosition());
}
#endif /* _FLOORMOVABLE_TEST_H_ */

